package com.game.units {
	public class Explosion {
		private var _x:int;
		private var _y:int;
		private var _step:int = 0;
		private var _length:int = 0;
		private var _dead:Boolean;
		public function Explosion() {
			_step = 0;
		}
		public function get x():int {
			return _x;
		}
		public function set x(value:int):void {
			_x = value;
		}
		public function get y():int {
			return _y;
		}
		public function set y(value:int):void {
			_y = value;
		}
		public function get step():int {
			return _step;
		}
		public function set step(value:int):void {
			_step = value;
			if (_step >= _length) {
				_dead = true;
			}
		}
		public function get length():int {
			return _length;
		}
		public function set length(value:int):void {
			_length = value;
		}
		public function get dead():Boolean {
			return _dead;
		}
		public function set dead(value:Boolean):void {
			_dead = value;
		}
	}
}